* {
  padding: 0;
  margin: 0;
}

html, body {
  width: 100%;
  height: 100%;
}

.contain {
  width: 1360px;
  margin: 0 auto;
}

li, ol, li {
  list-style: none;
}

.color {
  width: 100%;
  height: 60px;
  background-color: #333;
}

.top {
  height: 60px;
  position: relative;
  line-height: 46px;
}

.top .left {
  float: left;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.top .left li {
  margin: 5px;
  color: #fff;
}

.top .right {
  float: right;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  margin-right: 60px;
}

.top .right li {
  margin: 5px;
  color: #fff;
}

.top .right > .tupian {
  width: 24px;
  height: 22px;
  background-image: url(https://p1.qhimg.com/t019bd9e375d813e9d1.png);
  background-position-x: -110px;
  background-position-y: -50px;
  position: absolute;
  right: -50px;
}

.top .right .tupian:hover {
  width: 44px;
  height: 40px;
  box-sizing: border-box;
  padding: 20px;
  background-color: #fff;
  background-image: url(https://p1.qhimg.com/t019bd9e375d813e9d1.png);
  background-position-x: -128px;
  background-position-y: -40px;
  position: absolute;
  right: -60px;
}

.center .shang {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.center .shang .left {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.center .shang .left li {
  margin: auto 5px;
  cursor: pointer;
}

.center .shang .left li img {
  width: 137px;
  vertical-align: middle;
}

.center .shang .right {
  display: flex;
  flex-direction: column;
}

.center .shang .right ul {
  display: flex;
}

.center .shang .right ul li {
  margin: 5px;
  cursor: pointer;
}

.center .shang .right .xia {
  height: 30px;
}

.center .shang .right .xia span {
  height: 100%;
  display: block;
  width: 420px;
  border: 1px solid #333;
  border-radius: 30px;
  float: left;
  position: relative;
}

.center .shang .right .xia span input {
  height: 100%;
  width: 360px;
  box-sizing: border-box;
  border: none;
  margin-left: 20px;
  border-radius: none;
}

.center .shang .right .xia span i {
  width: 25px;
  height: 25px;
  float: right;
  position: absolute;
  right: -13px;
  margin-right: 26px;
  background-image: url(https://p1.qhimg.com/t019bd9e375d813e9d1.png);
  background-position-x: -172px;
  background-position-y: -46px;
  z-index: 10;
  cursor: pointer;
}

.center .xian {
  display: flex;
  flex-direction: column;
  position: relative;
}

.center .xian .ul {
  display: flex;
  flex-direction: column;
}

.center .xian .ul .top {
  width: 230px;
  height: 70px;
  display: flex;
  background-color: #333;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.center .xian .ul .top span {
  display: block;
  width: 23px;
  height: 23px;
  background-image: url(https://p2.qhimg.com/t01bd7a5051ca7bcc11.png);
}

.center .xian .ul .top p {
  color: white;
  margin-left: 5px;
}

.center .xian .ul ul {
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(51, 51, 51, 0.5);
  position: absolute;
  top: 70px;
  display: none;
  z-index: 99999999;
}

.center .xian .ul ul li {
  cursor: pointer;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.center .xian .ul ul li:last-child {
  margin-bottom: 160px;
}

.center .xian .heng {
  display: block;
  color: black;
  font-weight: 900;
}

.center .xian .heng hr {
  display: block;
  color: black;
  font-weight: 900;
}

.box {
  width: 480px;
  height: 600px;
  border: 1px solid #333;
  float: left;
  display: flex;
  flex-direction: column;
  position: relative;
}

.box .show {
  width: 100%;
  height: 480px;
  border: 1px solid #333;
  position: relative;
  cursor: none;
}

.box .show .mask {
  width: 300px;
  height: 300px;
  background-color: yellow;
  opacity: 0.5;
  position: absolute;
  top: 100px;
  left: 100px;
  pointer-events: none;
  cursor: pointer;
  display: none;
}

.box .list {
  flex: 1;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 20px;
}

.box .list img {
  width: 88px;
  height: 88px;
  border: 1px solid #333;
  cursor: pointer;
  margin-right: 20px;
}

.box .list img.active {
  border-color: orange;
}

.box .enlarge {
  width: 510px;
  height: 510px;
  border: 1px solid #333;
  position: absolute;
  top: 0;
  left: 110%;
  box-sizing: border-box;
  overflow: hidden;
  display: none;
  z-index: 999999;
  background-color: white;
}

.box .enlarge img {
  width: 816px;
  height: 816px;
  position: absolute;
  top: -306px;
  left: -293px;
}

.wai {
  display: flex;
}

.wai .right {
  margin: 0 30px;
  display: flex;
  flex-direction: column;
}

.wai .right .top {
  margin-bottom: 90px;
  display: flex;
  flex-direction: column;
}

.wai .right .top .shang {
  font-size: 20px;
  font-weight: 500;
}

.wai .right .top .zhong {
  color: red;
}

.wai .right .center {
  display: flex;
  flex-direction: column;
}

.wai .right .center .pri {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.wai .right .center .pri span {
  margin-right: 3px;
}

.wai .right .center .pri .newpri {
  font-size: 23px;
  color: red;
}

.wai .right .center .pri .oldpri {
  margin-left: 3px;
  font-size: 12px;
  text-decoration: line-through;
}

.wai .right .center .quan {
  display: flex;
  margin-bottom: 20px;
}

.wai .right .center .quan p {
  height: 30px;
  width: 160px;
  border: 1px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
  color: red;
  background-color: rgba(255, 192, 203, 0.7);
  cursor: pointer;
}

.wai .right .center .quan p a {
  color: red;
  text-decoration: none;
}

.wai .right .center .cuxiao {
  display: flex;
  margin-bottom: 20px;
}

.wai .right .center .cuxiao span {
  margin-right: 3px;
}

.wai .right .center .cuxiao p {
  display: block;
  width: 50px;
  height: 20px;
  border: 1px solid #333;
  text-align: center;
  background-color: rgba(255, 192, 203, 0.7);
  color: red;
  border-radius: 10px;
}

.wai .right .center .cuxiao i {
  font-style: normal;
  margin-left: 3px;
  font-weight: 300;
}

.wai .right .warn {
  width: 770px;
  height: 42px;
  display: flex;
  background-color: rgba(255, 235, 198, 0.7);
  padding: 0 6px;
  margin-bottom: 20px;
}

.wai .right .warn span {
  display: block;
  width: 55px;
  height: 38px;
  background-image: url(https://p2.qhimg.com/t0162338fb79bf00d67.png);
  margin-right: 3px;
}

.wai .right .warn p {
  color: red;
}

.wai .right .bottom {
  display: flex;
  flex-direction: column;
}

.wai .right .bottom .shang {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.wai .right .bottom .shang p {
  width: 150px;
  height: 30px;
  border: 1px solid red;
  margin-left: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 192, 203, 0.5);
}

.wai .right .bottom .shuliang {
  display: flex;
  margin-bottom: 20px;
}

.wai .right .bottom .shuliang input {
  display: block;
  width: 53px;
  height: 30px;
  margin-left: 43px;
  font-size: 20px;
}

.wai .right .bottom .shuliang .left, .wai .right .bottom .shuliang .right {
  width: 30px;
  height: 30px;
  border: 1px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.wai .right .bottom .shuliang .disable {
  background-color: rgba(51, 51, 51, 0.3);
  opacity: 0.3;
  cursor: no-drop;
}

.wai .right .bottom .jifen {
  display: flex;
  margin-bottom: 20px;
}

.wai .right .bottom .jifen span {
  display: block;
  font-weight: 100;
  margin-right: 6px;
}

.wai .right .bottom .jifen p {
  font-weight: 500;
}

.wai .right .bottom .xia {
  display: flex;
}

.wai .right .bottom .xia .mai {
  width: 160px;
  height: 50px;
  background-color: rgba(255, 192, 203, 0.7);
  margin-right: 10px;
  color: red;
  cursor: pointer;
}

.wai .right .bottom .xia .jia {
  width: 160px;
  height: 50px;
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  cursor: pointer;
}
